package com.huike.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 线索
 * </p>
 *
 * @author itheima
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_clue")
public class Clue implements Serializable {

    private static final long serialVersionUID = 1L;

    private String allocator;

    @TableField("belonger")
    private String belonger;

    @TableField("is_pool")
    private Integer isPool;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("phone")
    private String phone;

    @TableField("channel")
    private String channel;

    @TableField("activity_id")
    private Long activityId;

    @TableField("sex")
    private String sex;

    @TableField("age")
    private Integer age;

    @TableField("weixin")
    private String weixin;

    @TableField("qq")
    private String qq;

    @TableField("level")
    private String level;

    @TableField("subject")
    private String subject;

    @TableField("status")
    private String status;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("create_by")
    private String createBy;

    @TableField("false_count")
    private Integer falseCount;

    @TableField("next_time")
    private LocalDateTime nextTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("transfer")
    private String transfer;

    @TableField("end_time")
    private LocalDateTime endTime;

    @TableField("false_reason")
    private String falseReason;

    @TableField("false_remark")
    private String falseRemark;

    @TableField("activity_name")
    private String activityName;

    @TableField("dept_name")
    private String deptName;


}
